package com.ruoyi.system.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 理财产品表 wdy_product
 * 
 * @author ruoyi
 * @date 2019-12-15
 */
public class WdyProduct extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
		private Long id;
	/** 产品名 */
		private String prdTitle;
	/** vc总量 */
		private BigDecimal vcAmount;
	/** 购买金额 */
		private BigDecimal cnnAmount;
	/** 释放量 */
		private BigDecimal releaseVcAmount;
	/** 产品介绍 */
		private String prdDetail;
	/** 删除标志（0代表存在 1代表删除） */
		private Integer delFlag;
	/** 创建者 */
		private String createBy;
	/** 创建时间 */
	    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
		private Date createTime;
	/** 更新者 */
		private String updateBy;
	/** 更新时间 */
	    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
		private Date updateTime;
	/** 备注信息 */
		private String remark;

	public void setId(Long id) 
	{
		this.id = id;
	}

	public Long getId() 
	{
		return id;
	}
	public void setPrdTitle(String prdTitle) 
	{
		this.prdTitle = prdTitle;
	}

	public String getPrdTitle() 
	{
		return prdTitle;
	}
	public void setVcAmount(BigDecimal vcAmount) 
	{
		this.vcAmount = vcAmount;
	}

	public BigDecimal getVcAmount() 
	{
		return vcAmount;
	}
	public void setCnnAmount(BigDecimal cnnAmount) 
	{
		this.cnnAmount = cnnAmount;
	}

	public BigDecimal getCnnAmount() 
	{
		return cnnAmount;
	}
	public void setReleaseVcAmount(BigDecimal releaseVcAmount) 
	{
		this.releaseVcAmount = releaseVcAmount;
	}

	public BigDecimal getReleaseVcAmount() 
	{
		return releaseVcAmount;
	}
	public void setPrdDetail(String prdDetail) 
	{
		this.prdDetail = prdDetail;
	}

	public String getPrdDetail() 
	{
		return prdDetail;
	}
	public void setDelFlag(Integer delFlag) 
	{
		this.delFlag = delFlag;
	}

	public Integer getDelFlag() 
	{
		return delFlag;
	}
	public void setCreateBy(String createBy) 
	{
		this.createBy = createBy;
	}

	public String getCreateBy() 
	{
		return createBy;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateBy(String updateBy) 
	{
		this.updateBy = updateBy;
	}

	public String getUpdateBy() 
	{
		return updateBy;
	}
	public void setUpdateTime(Date updateTime) 
	{
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() 
	{
		return updateTime;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("prdTitle", getPrdTitle())
            .append("vcAmount", getVcAmount())
            .append("cnnAmount", getCnnAmount())
            .append("releaseVcAmount", getReleaseVcAmount())
            .append("prdDetail", getPrdDetail())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
